'use strict';
/* Controller for updating  an existing entry*/

// Controller for going onto the right page e.g : modifyEntry.html

blogApp.controller('showCommentFormCtrl', ['$scope',
   /*function($scope, $http, $stateParams){
       $http.get('entries/'+$stateParams.entryId).success(function(data) {
        $scope.entry = data;
        console.log(data);
       });*/
   function($scope) {
       $scope.showCommentsFormVar = true;
       $scope.showCommentsForm = function() {
                   $scope.showCommentsFormVar = $scope.showCommentsFormVar === false ? true: false;
               };
   }
]);
